package org.agent.service.keywords;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.agent.pojo.Keywords;
import org.agent.pojo.User;

public interface KeywordsService {
	public int addKeywords(Keywords keywords);
	public int modifyKeywords(Keywords keywords);
	public int deleteKeywords(Keywords keywords);
	
	
	public List<Keywords> getList(Keywords keywords);
	public int count(Keywords keywords);
	public List<Keywords> getKeywordsBySearch(Keywords keywords);
	
	public Keywords getKeywordsById(Keywords keywords);
	public Keywords getKeywordsByKeyword(Keywords keywords);
	public void tx_SaveKeywords(Keywords keywords,User user,Date date);
	public void tx_ChangeStatusToOK(Keywords keywords,User user,Date date);
	public void tx_ChangeStatusToNO(Keywords keywords,User user,Date date);
	public void tx_keywordsXuFei(Keywords keywords, String string,
			String string2, BigDecimal bigDecimal, Date date);
}
